<?php
namespace app\admin\model;
use think\Model;
use fast\Cols;
class City extends Model{

      public function province(){
          return $this->belongsTo('Province','pid','id');
      }
      //城市包含地区
      public function area(){
          return $this->hasMany('Area','cid');
      }
}
?>
